include_directories(
    ../export_como
)

add_executable(struct_objs_write struct_objs_write.cpp common.cpp)
add_executable(struct_objs_read struct_objs_read.cpp common.cpp)

target_link_libraries (struct_objs_write LINK_PUBLIC pmalloc
                         $<$<BOOL:${LIBRT_LIBRARIES}>:${LIBRT_LIBRARIES}>)
target_link_libraries (struct_objs_read LINK_PUBLIC pmalloc
                         $<$<BOOL:${LIBRT_LIBRARIES}>:${LIBRT_LIBRARIES}>)

